package com.topisv.tms.entity.lpn;

import java.io.Serializable;
import javax.persistence.*;

import com.topisv.tms.entity.IdEntity;

import java.util.Date;

/**
 * The persistent class for the v_pallet_order database table.
 * 
 */
@Entity
@Table(name = "v_pallet_order")
public class VPalletOrder extends IdEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    
    @Column(name = "batch_seq")
    private int batchSeq;
    
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "create_time")
    private Date createTime;
    
    @Column(name = "is_valid")
    private int isValid;
    
    @Column(name = "lpn_no")
    private String lpnNo;
    
    private String name;
    
    @Column(name = "order_no")
    private String orderNo;
    
    @Column(name = "pallet_num")
    private String palletNum;
    
    private String remark;
    
    private int status;
    
    @Column(name = "storage_id")
    private int storageId;
    
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "update_time")
    private Date updateTime;
    
    @Column(name = "user_id")
    private String userId;
    
    @Column(name = "warehouse_code")
    private String warehouseCode;
    
    public VPalletOrder() {
    }
    
    @Override
    public String toString() {
        return "VPalletOrder [batchSeq=" + batchSeq + ", createTime=" + createTime + ", isValid=" + isValid + ", lpnNo="
            + lpnNo + ", name=" + name + ", orderNo=" + orderNo + ", palletNum=" + palletNum + ", remark=" + remark
            + ", status=" + status + ", storageId=" + storageId + ", updateTime=" + updateTime + ", userId=" + userId
            + ", warehouseCode=" + warehouseCode + "]";
    }
    
    public int getBatchSeq() {
        return this.batchSeq;
    }
    
    public void setBatchSeq(int batchSeq) {
        this.batchSeq = batchSeq;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public int getIsValid() {
        return this.isValid;
    }
    
    public void setIsValid(int isValid) {
        this.isValid = isValid;
    }
    
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getPalletNum() {
        return this.palletNum;
    }
    
    public void setPalletNum(String palletNum) {
        this.palletNum = palletNum;
    }
    
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public int getStatus() {
        return this.status;
    }
    
    public void setStatus(int status) {
        this.status = status;
    }
    
    public int getStorageId() {
        return this.storageId;
    }
    
    public void setStorageId(int storageId) {
        this.storageId = storageId;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    public String getWarehouseCode() {
        return this.warehouseCode;
    }
    
    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getLpnNo() {
        return lpnNo;
    }

    public void setLpnNo(String lpnNo) {
        this.lpnNo = lpnNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    
}